Skip to content

fix: Show more detailed error when table not found - #3867

Open
Baishan wants to merge 4 commits into
mainfrom
fix/improve_error_message_for_logs_query
Open

fix: Show more detailed error when table not found#3867
Baishan wants to merge 4 commits into
mainfrom
fix/improve_error_message_for_logs_query

Conversation

@Baishan

@Baishan Baishan commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

No description provided.

defp unknown_table_message(names) do
case String.split(names, ", ") do
[single] -> ~s(Table "#{single}" does not exist.)
multiple -> "Tables #{Enum.map_join(multiple, ", ", &~s("#{&1}"))} do not exist."

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should add a test to cover the multi table situation as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants